import { IPSAppDEField } from '../../app/dataentity/ipsapp-defield';
import { IPSChart } from './ipschart';
import { IPSDEChartLegend } from './ipsdechart-legend';
import { IPSDEChartSeries } from './ipsdechart-series';
import { IPSDEChartTitle } from './ipsdechart-title';
import { IPSECharts } from './ipsecharts';

/**
 *
 * 继承父接口类型值[CHART]
 * @export
 * @interface IPSDEChart
 */
export interface IPSDEChart extends IPSChart, IPSECharts {
  /**
   * 默认排序方向
   * @description 值模式 [字段排序方向] {ASC：升序、 DESC：降序 }
   * @type {( string | 'ASC' | 'DESC')}
   */
  minorSortDir: string | 'ASC' | 'DESC';

  /**
   * 默认排序应用实体属性
   *
   * @type {IPSAppDEField}
   */
  getMinorSortPSAppDEField(): IPSAppDEField | null;

  /**
   * 实体图表图例对象
   *
   * @type {IPSDEChartLegend}
   */
  getPSDEChartLegend(): IPSDEChartLegend | null;

  /**
   * 图表数据序列集合
   *
   * @type {IPSDEChartSeries[]}
   */
  getPSDEChartSerieses(): IPSDEChartSeries[] | null;

  findPSDEChartSeries(objKey: any): IPSDEChartSeries | null;

  /**
   * 实体图表标题对象
   *
   * @type {IPSDEChartTitle}
   */
  getPSDEChartTitle(): IPSDEChartTitle | null;
}
